package com.hncc.sms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 查看排班表对象 sms_skd
 * 
 * @author ruoyi
 * @date 2020-08-21
 */
@ApiModel(value = "查看排班表实体")
public class SmsSkd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID",required = false)
    private Long id;

    /** 日期 */
    @ApiModelProperty(value = "日期",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 剩余号数 */
    @ApiModelProperty(value = "剩余号数",required = false)
    @Excel(name = "剩余号数")
    private Long remain;

    /** 午别 */
    @ApiModelProperty(value = "午别",required = false)
    @Excel(name = "午别")
    private Integer noon;

    /** 值班医生 */
    @ApiModelProperty(value = "值班医生",required = false)
    @Excel(name = "值班医生")
    private Long staffId;

    /** 科室 */
    @ApiModelProperty(value = "科室",required = false)
    @Excel(name = "科室")
    private Long deptId;

    /** 排班限额 */
    @ApiModelProperty(value = "排班限额",required = false)
    @Excel(name = "排班限额")
    private Long skLimit;
    /** 用户名 */
    private String userName;

    /** 科室名 */
    private String deptName;

    /** 专家名 */
    private String name;

    /** 结束时间 */
    private Date endDate;

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRemain(Long remain) 
    {
        this.remain = remain;
    }

    public Long getRemain() 
    {
        return remain;
    }
    public void setNoon(Integer noon) 
    {
        this.noon = noon;
    }

    public Integer getNoon() 
    {
        return noon;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setSkLimit(Long skLimit) 
    {
        this.skLimit = skLimit;
    }

    public Long getSkLimit() 
    {
        return skLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("status", getStatus())
            .append("remain", getRemain())
            .append("noon", getNoon())
            .append("staffId", getStaffId())
            .append("deptId", getDeptId())
            .append("skLimit", getSkLimit())
            .toString();
    }
}
